(find_handler_clause): Give up on debugger if INPUT_BLOCKED_P.
authorRichard M. Stallman <rms@gnu.org>
Fri, 8 Sep 2006 12:11:49 +0000 (12:11 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 8 Sep 2006 12:11:49 +0000 (12:11 +0000)
src/eval.c

index 5f3bd46c4dc39997bd687adccd03246f629f6a59..dbd30eac201d18509ef4e27dd8790ca03b9b7029 100644 (file)
@@ -1904,6 +1904,9 @@ find_handler_clause (handlers, conditions, sig, data, debugger_value_ptr)
          max_specpdl_size--;
        }
       if (! no_debugger
+         /* Don't try to run the debugger with interrupts blocked.
+            The editing loop would return anyway.  */
+         && ! INPUT_BLOCKED_P
          && (EQ (sig_symbol, Qquit)
              ? debug_on_quit
              : wants_debugger (Vdebug_on_error, conditions))